export interface IProps {
    onUpdate: (newData: any, reload?: boolean) => void,
    onClose: () => void,
}